define(['jquery','text!../template/repairMsg.html'],function($,tplRepairMsg){
	let repair={};
	let tpls = {
		'tplRepairMsg' :_.template(tplRepairMsg)
	};

	repair.show = function(data){
		let _html = tpls.tplRepairMsg({data:data})
		layer.open({
		  type: 1,
		  title: false,
		  closeBtn: 0,
		  shadeClose: true,
		  skin: 'examOpen',
		  content: _html
		});

		$('#closeInfo').click(function(event) {
			layer.closeAll();
		});
	}

	return repair;
})